import java.util.Scanner;

/**
 * Created with IntelliJ IEDA.
 * Description:
 * User:86186
 * Date:2022-07-25
 * Time:9:30
 */
public class Solution {
    public int count;

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int n = scanner.nextInt();
        System.out.println(Fibonacci(n));

    }

    public static int Fibonacci(int n) {
        JudFibonacci(n);
        return
    }

    public static int JudFibonacci(int n) {

    }
}

